/*
 * @Description: In User Settings Edit
 * @Author: your name
 * @Date: 2019-10-17 20:50:43
 * @LastEditTime: 2019-10-17 22:22:33
 * @LastEditors: Please set LastEditors
 */
// 引入mysql
var mysql = require('mysql');

// 创建连接
var connection = mysql.createConnection({
    host: 'localhost',
    user: 'root',
    password: '',
    database: 'phplesson'
});



connection.connect();
module.exports = connection;